import request from '@/utils/request.js'

export default{

  //1、根据手机号发送验证码
  sendCode(phone){
    return request({
      url: '/edumsm/msm/send/' + phone,
      method: 'get'
    })
  },

  //2、用户注册方法
  registerMember(formItem){
    return request({
      url: '/educenter/member/register',
      method: 'post',
      data: formItem
    })
  }

}
